package com.ktjy.ktmall.service;

import com.ktjy.ktmall.entity.TMenu;

import java.io.IOException;
import java.util.List;

public interface TMenuService {

    List<TMenu> getMenuList() throws IOException;


    List<TMenu> getMenuList2();


    Integer getMenuCount() throws IOException;



    /**
     * 新增
     * @return
     */
    Integer addMenu(TMenu menu) throws IOException;

    /**
     *
     * @return
     */
    Integer  deleteMenu(Integer psId) throws IOException;


    Integer updateMenu(TMenu menu) throws IOException;
}
